home *** CD-ROM | disk | FTP | other *** search
/ Ahoy 1986 July / Ahoy_Magazine_86-07_1986_Double_L.d64 / file fixing.txt < prev    next >
Text File  |  2022-10-26  |  4KB  |  128 lines

  1. DISK DIRECTORY MANIPULATOR
  2. by David Stidolph
  3.  
  4. Commodore files have names and other
  5. information about them stored in the
  6. disk directory. The disk directory is
  7. organized into blocks, each of which
  8. has 8 files. The program follows this
  9. structure. If you don't see the file
  10. you want in the first block, go to
  11. the next one until you find it.
  12.  
  13. THE MAIN SCREEN:
  14.  
  15. The main screen tells you every thing
  16. you need to know about each directory
  17. block. On it is the file name, file
  18. type, and the status of the file (if
  19. the file has been deleted and if the
  20. file is protected). A file is chosen
  21. by using the up and down cursor keys
  22. to highlight the file you want.
  23.  
  24. Below the list of files is the
  25. command list. Once you have chosen
  26. the file you want, if any, in this
  27. block of 8 files, you use the cursor
  28. left and right keys to highlight the
  29. command you want. When the file and
  30. command selectors are where you want,
  31. you press the RETURN key. Most
  32. commands are executed immediately,
  33. but some commands need to use the
  34. disk drive so it takes time (just
  35. wait).
  36.  
  37. COMMAND SUMMARY
  38.  
  39. NAME: Sometimes it is neccesary to
  40. change the file name or file type.
  41. One example is having a series of
  42. dashes seperating files like on your
  43. introductory COMAL disk. Because the
  44. DIRECTORY MANIPULATOR writes directly
  45. to the directory it is possible to
  46. create duplicate names. If you do not
  47. want to change the file name (or file
  48. type) just hit return.
  49.  
  50. PROTECT: Use this command to prevent
  51. the file from being deleted
  52. (scratched) accidentally. The only
  53. way to erase such a file is by
  54. UNPROTECTing it and deleting or by
  55. 'NEWING' the disk. When a 'cat'
  56. command is done of a disk with a
  57. protected file, you will see a '<'
  58. next to the file type. That way you
  59. will know it cannot be erased. This
  60. applies to ALL files, not just COMAL
  61. programs.
  62.  
  63. UNPROTECT: When you need to erase a
  64. protected file without erasing the
  65. entire disk you must use this command
  66. to unprotect it first.
  67.  
  68. RESTORE: If you deleted (scratched) a
  69. file and want it restored it is
  70. possible. If you have written to the
  71. disk after the file was deleted, your
  72. file is probably destroyed. The
  73. RESTORE command will try to
  74. completely restore the file
  75. (including the BAM). The procedure is
  76. as follows:
  77.  
  78. 1) Choose file (cursor up/down)
  79. 2) Choose NAME command
  80. 3) Press RETURN for file name
  81. 4) For file type, input original type
  82. (what it was before it was deleted)
  83. 5) Choose RESTORE command
  84. 6) Press F1 to save changes to disk
  85.  
  86. If the file cannot be restored the
  87. program will tell you. Then you
  88. should validate the disk (to clean up
  89. the BAM). To do this issue the
  90. command: PASS "V0".
  91.  
  92. +: This command will go to the next
  93. block. No changes are saved to the
  94. disk with this command, so make sure
  95. you have saved any changes with the
  96. F1 key before moving to another
  97. directory block.
  98.  
  99. -: this command will go to the
  100. previous block. No changes are saved
  101. to the disk with this command, so
  102. make sure you have saved any changes
  103. with the F1 key before moving to
  104. another directory block.
  105.  
  106. QUIT: To end the program or to change
  107. disks use this command. No changes
  108. will be saved by this command, so
  109. make sure you save them with the F1
  110. key first.
  111.  
  112. FUNCTION KEYS
  113.  
  114. F1: The computer will save all
  115. changes in the present directory
  116. block to disk. Use this after you
  117. change a file name, file type, or
  118. used the PROTECT or UNPROTECT
  119. commands.
  120.  
  121. F3: Restores this block to its
  122. original state. To get rid of all
  123. changes you could goto the next block
  124. and come back, but it would take
  125. time. To do it quickly, press the F3
  126. key and the computer will read in the
  127. original block.
  128.